{% extends "base.html" %}

{% block content %}
  <div class="content">
    <h1>{{ question.question_text }}</h1>
    <ul>
      {% for choice in question.choice_set.all %}
        <li>
          {{ choice.choice_text }} -- {{ choice.votes }} vote {{ choice.votes | pluralize }}
        </li>
        
      {% endfor %}
    </ul>

    <a href="{% url 'polls:detail' question.id %}">再次投票?</a>
  </div>
{% endblock content %}